﻿namespace ShikijuHome.ViewModels
{
    using System;
    using System.Collections.Generic;

    public class BlogViewModel
    {
        public Tuple<int, string, Dictionary<int, ReplyModel>> Post
        {
            get;
            set;
        }
    }

    public class ReplyModel
    {
        public ReplyModel(int id, int ownerId,int itemid, string message, string avatar)
        {
            Id = id;
            OwnerId = ownerId;
            ItemId = itemid;
            Message = message;
            AvatarUrl = avatar;
        }

        public int Id { get; set; }
        public int OwnerId { get; set; }
        public int ItemId { get; set; }
        public string Message { get; set; }
        public string AvatarUrl { get; set; }
    }
}